<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="Oficinas">
  <HTML>
    <BODY>
      <TABLE BORDER="2">
        <TR>
			<TD>codOfic</TD>
			<TD>nomeOfic</TD>
			<TD>moradaOfic</TD>
			<TD>nifOfic</TD>
			<TD>Responsavel</TD>
			<TD>telefoneOfic</TD>
        </TR>
        <xsl:apply-templates select="Oficina"/>
      </TABLE>
    </BODY>
  </HTML>
</xsl:template>
<xsl:template match="Oficina">
  <TR>
    <TD><xsl:value-of select="codOfic"/></TD>
    <TD><xsl:value-of select="nomeOfic"/></TD>
    <TD><xsl:value-of select="moradaOfic"/></TD>
	 <TD><xsl:value-of select="nifOfic"/></TD>
	  <TD><xsl:value-of select="Responsavel"/></TD>
	   <TD><xsl:value-of select="telefoneOfic"/></TD>
  </TR>
</xsl:template>
</xsl:stylesheet>